package com.cetcs.kmga.dataManager.dao.mybatis;

import com.cetcs.kmga.common.Data;
import com.cetcs.kmga.dataManager.entity.device.DeviceInfo;
import com.cetcs.kmga.dataManager.entity.sysManager.vo.SpaceAccountedVo;
import com.github.miemiedev.mybatis.paginator.domain.PageBounds;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by Administrator on 2017/8/21 0021.
 */
@Repository
public interface CleanRecordLogMapper {

    //获取 磁盘空间占比
    List<SpaceAccountedVo> getLocalSpaceAccounted(Data dataMap) throws Exception;
    //添加清理日志
    Integer addCleanRecords(Data dataMap) throws Exception;
    //通过条件获取所有的清理记录
    List<DeviceInfo> getCleanRecordsByPageAndCondition(Data dataMap) throws Exception;
    List<DeviceInfo> getCleanRecordsByPageAndCondition(Data dataMap,PageBounds pageBounds) throws Exception;
}
